package net.realsee.controller.system;

import cn.dev33.satoken.annotation.SaIgnore;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import net.realsee.framework.core.domain.R;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 心跳检查
 *
 * @author: 孙正华
 * @date: 2023/10/20 上午 10:10
 **/
@SaIgnore
@Slf4j
@RequiredArgsConstructor
@RestController
@RequestMapping("/health")
public class HealthCheckController {

    @GetMapping("/check")
    public R healthCheck() {
        return R.ok();
    }

}
